package org.wicket.jbpm.engine.workflow;

import java.io.Serializable;

public class WfDefinition implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7228051370147162122L;

	public final String id;
	public final String name;
	public final String version;
	public final String title;
	public final String description;

	public WfDefinition(final String id, final String name,
			final String version, final String title, final String description) {
		this.id = id;
		this.name = name;
		this.version = version;
		this.title = title;
		this.description = description;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public String getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getVersion() {
		return version;
	}

	public String getTitle() {
		return title;
	}

	public String getDescription() {
		return description;
	}
	
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    public String toString()
    {
/*        return "WfDefinition[id=" + id + ",name=" + name + ",version=" + version + ",title=" + title + ",startTask=" + ((getStartTaskDefinition() == null) ? "undefined" : getStartTaskDefinition().toString()) + "]"*/;
		return "WfDefinition[id=" + id + ",name=" + name + ",version=" + version + ",title=" + title + "]";
    }	
}
